package com.mvp.lt.airlineview.adapter;


import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.mvp.lt.airlineview.R;

import java.util.List;

import com.mvp.lt.airlineview.DemoModel;


public class UIDemoAdapter extends BaseQuickAdapter<DemoModel, BaseViewHolder> {
    public UIDemoAdapter(@Nullable List<DemoModel> data) {
        super(R.layout.adapter_uidemo, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, DemoModel item) {
        helper.setText(R.id.txt_title, item.getTitle());
    }
}
